SpatialStream® Code Examples

Adding Parcel Tile Layer

The most straight-forward way to add a Parcel Tile layer to a Bing map is by using the Bing Maps API. The example
below shows how to add a SpatialStream® Parcel Tile layer using the Bing Maps API.

GetMap

var tileSource = new Microsoft.Maps.TileSource({
uriConstructor: 'http://t{
subdomain
}.spatialstream.com/getMap.aspx?layers=SS.Base.Parcels/ParcelTiles&tileid={
quadkey
}'
});
// Construct the layer using the tile source
tilelayer = new Microsoft.Maps.TileLayer({
mercator: tileSource
});
// Push the tile layer to the map
map.entities.push(tilelayer);


Run Sample   Back To Index